package com.woniuxy.depot.service;

import com.woniuxy.depot.model.DTO.StockGoodsDTO;
import com.woniuxy.depot.model.VO.PageBean;
import com.woniuxy.depot.model.VO.StockGoodsVO;
import com.woniuxy.depot.model.entity.DepotInStockItem;
import com.woniuxy.model.vo.DepotStockManageVo;

public interface DepotStockManageService {
    PageBean<StockGoodsVO> searchByCondition(StockGoodsDTO stockGoodsDTO);

    boolean hasGoods(int depotId,String code);

    void updateNum(Integer depotId, DepotInStockItem depotInStockItem);

    void addStock(Integer depotId, DepotInStockItem depotInStockItem);

    boolean delStock(DepotStockManageVo stockManageVo);

    Boolean insertExcel();
}
